package com.changfeng.dao;

import com.changfeng.bean.RetailersBanner;
import com.changfeng.bean.dto.vo.AdminBannerListVO;
import com.changfeng.bean.dto.vo.IndexBannerListVO;

import java.util.List;

public interface RetailersBannerMapper {
    int deleteByPrimaryKey(Integer bannerId);

    int insert(RetailersBanner record);

    int insertSelective(RetailersBanner record);

    RetailersBanner selectByPrimaryKey(Integer bannerId);

    int updateByPrimaryKeySelective(RetailersBanner record);

    int updateByPrimaryKey(RetailersBanner record);

    List<AdminBannerListVO> findAll();

    List<IndexBannerListVO> findIndexAll();
}